package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.business.domain.ShopOrder;
import com.ruoyi.business.vo.ShopOrderVo;

import java.util.List;

/**
 * 订单Service接口
 *
 * @author Tellsea
 * @date 2025-01-17
 */
public interface IShopOrderService extends IService<ShopOrder> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ShopOrderVo> queryList(ShopOrderVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ShopOrderVo> queryAll(ShopOrderVo entity);

    /**
     * 根据ID查询
     *
     * @param orderId
     * @return
     */
    ShopOrderVo queryById(Long orderId);
}
